home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / p_man / cat3 / Xt / XtAppGetErrorDatabase.z / XtAppGetErrorDatabase
Text File  |  1998-10-30  |  4KB  |  133 lines

  1.  
  2.  
  3.  
  4.      XXXXttttAAAAppppppppGGGGeeeettttEEEErrrrrrrroooorrrrDDDDaaaattttaaaabbbbaaaasssseeee((((3333XXXXtttt))))XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....3333))))XXXXttttAAAAppppppppGGGGeeeettttEEEErrrrrrrroooorrrrDDDDaaaattttaaaabbbbaaaasssseeee((((3333XXXXtttt))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           XtAppGetErrorDatabase, XtAppGetErrorDatabaseText - obtain
  10.           error database
  11.  
  12.      SSSSYYYYNNNNTTTTAAAAXXXX
  13.           XrmDatabase *XtAppGetErrorDatabase(_a_p_p__c_o_n_t_e_x_t)
  14.                XtAppContext _a_p_p__c_o_n_t_e_x_t;
  15.  
  16.           void XtAppGetErrorDatabaseText(_a_p_p__c_o_n_t_e_x_t, _n_a_m_e, _t_y_p_e,
  17.           _c_l_a_s_s, _d_e_f_a_u_l_t, _b_u_f_f_e_r__r_e_t_u_r_n, _n_b_y_t_e_s, _d_a_t_a_b_a_s_e)
  18.                  XtAppContext _a_p_p__c_o_n_t_e_x_t;
  19.                  char *_n_a_m_e, *_t_y_p_e, *_c_l_a_s_s;
  20.                  char *_d_e_f_a_u_l_t;
  21.                  char *_b_u_f_f_e_r__r_e_t_u_r_n;
  22.                  int _n_b_y_t_e_s;
  23.                  XrmDatabase _d_a_t_a_b_a_s_e;
  24.  
  25.      AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  26.           _a_p_p__c_o_n_t_e_x_t
  27.                     Specifies the application context.
  28.  
  29.           _b_u_f_f_e_r__r_e_t_u_r_n
  30.                     Specifies the buffer into which the error message
  31.                     is to be returned.
  32.  
  33.           _c_l_a_s_s     Specifies the resource class of the error message.
  34.  
  35.           _d_a_t_a_b_a_s_e  Specifies the name of the alternative database
  36.                     that is to be used or NULL if the application's
  37.                     database is to be used.
  38.  
  39.           _d_e_f_a_u_l_t   Specifies the default message to use.
  40.  
  41.           _n_a_m_e
  42.           _t_y_p_e      Specifies the name and type that are concatenated
  43.                     to form the resource name of the error message.
  44.  
  45.           _n_b_y_t_e_s    Specifies the size of the buffer in bytes.
  46.  
  47.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  48.           The _X_t_A_p_p_G_e_t_E_r_r_o_r_D_a_t_a_b_a_s_e function returns the address of
  49.           the error database.  The Intrinsics do a lazy binding of the
  50.           error database and do not merge in the database file until
  51.           the first call to _X_t_A_p_p_G_e_t_E_r_r_o_r_D_a_t_b_a_s_e_T_e_x_t.
  52.  
  53.           The _X_t_A_p_p_G_e_t_E_r_r_o_r_D_a_t_a_b_a_s_e_T_e_x_t returns the appropriate
  54.           message from the error database or returns the specified
  55.           default message if one is not found in the error database.
  56.  
  57.      SSSSEEEEEEEE AAAALLLLSSSSOOOO
  58.           XtAppError(3Xt), XtAppErrorMsg(3Xt)
  59.           _X _T_o_o_l_k_i_t _I_n_t_r_i_n_s_i_c_s - _C _L_a_n_g_u_a_g_e _I_n_t_e_r_f_a_c_e
  60.  
  61.  
  62.  
  63.      Page 1                                          (printed 4/30/98)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      XXXXttttAAAAppppppppGGGGeeeettttEEEErrrrrrrroooorrrrDDDDaaaattttaaaabbbbaaaasssseeee((((3333XXXXtttt))))XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....3333))))XXXXttttAAAAppppppppGGGGeeeettttEEEErrrrrrrroooorrrrDDDDaaaattttaaaabbbbaaaasssseeee((((3333XXXXtttt))))
  71.  
  72.  
  73.  
  74.           _X_l_i_b - _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e
  75.  
  76.  
  77.  
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.      Page 2                                          (printed 4/30/98)
  130.  
  131.  
  132.  
  133.